package com.leo.biz.utils;

import com.leo.base.Config;

/**
 * Created by leo on 2016/11/21.
 */
public class ConfigUtils {

    public static String getZkServerIp() {
        return zkServerIp;
    }

    public static String getZkServerPort() {
        return zkServerPort;
    }

    @Config(name="zookeeper.ip",desc="zookeeperIp地址")
    private static String zkServerIp;

    @Config(name="zookeeper.port",desc="zookeeperIp端口")
    private static String zkServerPort;

    public static String getRedisIp() {
        return redisIp;
    }

    public static String getRedisPort() {
        return redisPort;
    }

    @Config(name="redis.ip",desc="redis地址")
    private static String redisIp;

    public static String getMetadataBrokerList() {
        return metadataBrokerList;
    }

    @Config(name="redis.port",desc="redisPort端口")
    private static String redisPort;

    @Config(name="metadata.broker.list",desc="kafka代理地址列表")
    private static String metadataBrokerList;
}
